<%--
  Created by IntelliJ IDEA.
  User: nguyentrongduy
  Date: 24/7/12
  Time: 10:34 AM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <meta name="layout" content="main">
  <title></title>
</head>
<body>

    <g:render template="/sanPham/createEditProduct/sanPhamHeader" model="['step':2]"></g:render>

        <g:form>
             <table class="marginTopLarge marginBottomLarge">
                 <tr>
                     <td>
                         <span> <g:message code="chonVatLieu.tieude"/> </span>
                     </td>

                     <td>
                         <span class="marginRightLarge">
                             <g:select name="vatLieu"
                                       from="${duylinh.VatLieu.list()}"
                                       optionValue="${{it.chatLieu +" "+ it.ten}}"
                                       optionKey="id"
                                       value="${sanPham?.vatLieu?.id}"
                             />
                         </span>

                         <g:submitButton name="suaVatLieu" value="${message(code:'button.suaVatLieu')}" />
                     </td>
                 </tr>

             </table>


             <fieldset class="buttons marginTopMiddle">
                 <div class="floatL">
                     <g:submitButton name="chonVatLieu" value="${message(code:'button.chonVatLieu')}" />
                     <g:submitButton name="taoVatLieu" value="${message(code:'button.taoVatLieuMoi')}" />
                 </div>


                 <div class="floatR marginRightStd">
                     <g:submitButton name="ketthuc" class="save" value="${message(code:'button.ketthuc')}" />
                 </div>
                 <div class="clear"></div>
             </fieldset>


         </g:form>
</body>
</html>